import request from '@/utils/request'

// 查询银行卡信息列表
export function listExaminerbankcard(query) {
  return request({
    url: '/grant/examinerbankcard/list',
    method: 'get',
    params: query
  })
}

// 查询银行卡信息详细
export function getExaminerbankcard(id) {
  return request({
    url: '/grant/examinerbankcard/' + id,
    method: 'get'
  })
}

// 新增银行卡信息
export function addExaminerbankcard(data) {
  return request({
    url: '/grant/examinerbankcard',
    method: 'post',
    data: data
  })
}

// 修改银行卡信息
export function updateExaminerbankcard(data) {
  return request({
    url: '/grant/examinerbankcard',
    method: 'put',
    data: data
  })
}

// 删除银行卡信息
export function delExaminerbankcard(id) {
  return request({
    url: '/grant/examinerbankcard/' + id,
    method: 'delete'
  })
}

// 导出银行卡信息
export function exportExaminerbankcard(query) {
  return request({
    url: '/grant/examinerbankcard/export',
    method: 'get',
    params: query
  })
}